﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SF.WebClient.Controllers
{
    public class ToolbarController : BasicController
    {
        public void ViewToolbarCssSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/toolbar/jeasyui.extensions.toolbar.css");
        }

        #region data 本地数据

        public ViewResult DataDemo()
        {
            return View();
        }

        public PartialViewResult DataSource()
        {
            return PartialView();
        }

        public void ViewDataSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/toolbar/jeasyui.extensions.toolbar.js");
        }

        public PartialViewResult DataExplain()
        {
            return PartialView();
        }

        #endregion

        #region tree 本地数据

        public ViewResult TreeDemo()
        {
            return View();
        }

        public PartialViewResult TreeSource()
        {
            return PartialView();
        }

        public void ViewTreeSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/toolbar/jeasyui.extensions.toolbar.js");
        }

        public PartialViewResult TreeExplain()
        {
            return PartialView();
        }

        #endregion
    }
}